package com.shhic.itsed.mws.deviceintf;

public enum SizeUnit {

	
	WORD{
		@Override
		public float byteRatio() {
			return 2;
		}
	},BYTE{
		@Override
		public float byteRatio() {
			return 1;
		}
	},BIT{
		@Override
		public float byteRatio() {
			return 0.125f;
		}
	};
	
	public abstract float byteRatio();	//换算成字节的系数
	
}
